/*
 * @Author: 梁 卓
 * @Version: V1.0.0
 * @Date: 2024-09-19 22:39:20
 * @LastEditors: 梁 卓
 * @LastEditTime: 2024-10-08 22:14:09
 * @FilePath: index.js
 * Copyright 2024 Marvin, All Rights Reserved. 
 * 2024-09-19 22:39:20
 * @Description: 
 */
import request from '../../utils/request.js'


export function getFriend() {
    return request({
        url: '/friend',
        method: 'get',
    })
}

export function hasFriend(data) {
    return request({
        url: '/friend/hasFriend',
        method: 'post',
        data: data
    })
}
